//
//  UILabel+Custom.m
//  Renyiting
//
//  Created by timmy on 16/8/25.
//  Copyright © 2016年 timmy. All rights reserved.
//

#import "UILabel+Custom.h"

@implementation UILabel (Custom)

- (void)text:(NSString *)text textColor:(UIColor *)color font:(UIFont *)font attributeText:(NSMutableAttributedString *)string {
    self.attributedText = string;
    if (text) {
        self.text = text;
    }
    if (color) {
        self.textColor = color;
    }
    if (font) {
        self.font = font;
    }
    if (string) {
        self.attributedText = string;
    }

}

@end
